package com.zjy.user.service;

import com.zjy.user.domain.User;
import com.zjy.basic.service.BaseService;

import javax.mail.MessagingException;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Tom
 * @since 2022-11-02
 */
public interface UserService extends BaseService<User> {

    void phoneRegister(Map<String, String> map);

    void registerEmail(Map<String, String> map) throws MessagingException;

    void active(User user) throws MessagingException;
}
